package com.learning.consumerhystrixdashboard.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * (description)
 *
 * @author jinlong.liao on 2018/3/27
 */
@FeignClient(name = "producer-service", path = "/user", fallback = ProducerUserFallback.class)
public interface ProducerUserClient {

    @GetMapping("/hi")
    String hi(@RequestParam("str") String str);
}
